package com.jz.netthings.application.providerCollection.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 采浆记录-输入资源
 * </p>
 *
 * @author zyl
 * @since 2019-03-22
 */
public class InputResource implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 设备日志编号
     */
    @TableId("mlogId")
    private String mlogId;
    /**
     * 设备编号
     */
    private String deviceId;
    /**
     * 设备编号读取时间
     */
    private Date timeDeviceIdRead;
    /**
     * 护士编号
     */
    private String nurseId;
    /**
     * 护士编号读取时间
     */
    private Date timeNurseIdRead;
    /**
     * 浆员编号
     */
    private String donatorId;
    /**
     * 浆员编号读取时间
     */
    private Date timeDonatorIdRead;
    /**
     * 四件套厂家
     */
    private String fpsVendor;
    /**
     * 四件套厂家读取时间
     */
    private Date timeFpsVendorRead;
    /**
     * 四件套批号
     */
    private String fpsBno;
    /**
     * 四件套批号读时间
     */
    private Date timeFpsBnoRead;
    private String acdVendor;
    private Date timeAcdVendorRead;
    /**
     * 抗凝剂厂家
     */
    private String acdBno;
    /**
     * 抗凝剂厂家读取时间
     */
    private Date timeAcdBnoRead;
    /**
     * 盐水厂家
     */
    private String salineVendor;
    /**
     * 盐水厂家读取时间
     */
    private Date timeSalineVendor;
    /**
     * 盐水批号
     */
    private String salineBno;
    /**
     * 盐水批号读取时间
     */
    private Date timeSalineBnoRead;


    public String getMlogId() {
        return mlogId;
    }

    public void setMlogId(String mlogId) {
        this.mlogId = mlogId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeDeviceIdRead() {
        return timeDeviceIdRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeDeviceIdRead(Date timeDeviceIdRead) {
        this.timeDeviceIdRead = timeDeviceIdRead;
    }

    public String getNurseId() {
        return nurseId;
    }

    public void setNurseId(String nurseId) {
        this.nurseId = nurseId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeNurseIdRead() {
        return timeNurseIdRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeNurseIdRead(Date timeNurseIdRead) {
        this.timeNurseIdRead = timeNurseIdRead;
    }

    public String getDonatorId() {
        return donatorId;
    }

    public void setDonatorId(String donatorId) {
        this.donatorId = donatorId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeDonatorIdRead() {
        return timeDonatorIdRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeDonatorIdRead(Date timeDonatorIdRead) {
        this.timeDonatorIdRead = timeDonatorIdRead;
    }

    public String getFpsVendor() {
        return fpsVendor;
    }

    public void setFpsVendor(String fpsVendor) {
        this.fpsVendor = fpsVendor;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeFpsVendorRead() {
        return timeFpsVendorRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeFpsVendorRead(Date timeFpsVendorRead) {
        this.timeFpsVendorRead = timeFpsVendorRead;
    }

    public String getFpsBno() {
        return fpsBno;
    }

    public void setFpsBno(String fpsBno) {
        this.fpsBno = fpsBno;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeFpsBnoRead() {
        return timeFpsBnoRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeFpsBnoRead(Date timeFpsBnoRead) {
        this.timeFpsBnoRead = timeFpsBnoRead;
    }

    public String getAcdVendor() {
        return acdVendor;
    }

    public void setAcdVendor(String acdVendor) {
        this.acdVendor = acdVendor;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeAcdVendorRead() {
        return timeAcdVendorRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeAcdVendorRead(Date timeAcdVendorRead) {
        this.timeAcdVendorRead = timeAcdVendorRead;
    }

    public String getAcdBno() {
        return acdBno;
    }

    public void setAcdBno(String acdBno) {
        this.acdBno = acdBno;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeAcdBnoRead() {
        return timeAcdBnoRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeAcdBnoRead(Date timeAcdBnoRead) {
        this.timeAcdBnoRead = timeAcdBnoRead;
    }

    public String getSalineVendor() {
        return salineVendor;
    }

    public void setSalineVendor(String salineVendor) {
        this.salineVendor = salineVendor;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeSalineVendor() {
        return timeSalineVendor;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeSalineVendor(Date timeSalineVendor) {
        this.timeSalineVendor = timeSalineVendor;
    }

    public String getSalineBno() {
        return salineBno;
    }

    public void setSalineBno(String salineBno) {
        this.salineBno = salineBno;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeSalineBnoRead() {
        return timeSalineBnoRead;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeSalineBnoRead(Date timeSalineBnoRead) {
        this.timeSalineBnoRead = timeSalineBnoRead;
    }

    @Override
    public String toString() {
        return "InputResource{" +
        "mlogId=" + mlogId +
        ", deviceId=" + deviceId +
        ", timeDeviceIdRead=" + timeDeviceIdRead +
        ", nurseId=" + nurseId +
        ", timeNurseIdRead=" + timeNurseIdRead +
        ", donatorId=" + donatorId +
        ", timeDonatorIdRead=" + timeDonatorIdRead +
        ", fpsVendor=" + fpsVendor +
        ", timeFpsVendorRead=" + timeFpsVendorRead +
        ", fpsBno=" + fpsBno +
        ", timeFpsBnoRead=" + timeFpsBnoRead +
        ", acdVendor=" + acdVendor +
        ", timeAcdVendorRead=" + timeAcdVendorRead +
        ", acdBno=" + acdBno +
        ", timeAcdBnoRead=" + timeAcdBnoRead +
        ", salineVendor=" + salineVendor +
        ", timeSalineVendor=" + timeSalineVendor +
        ", salineBno=" + salineBno +
        ", timeSalineBnoRead=" + timeSalineBnoRead +
        "}";
    }
}
